package com.work.mb;

import java.io.Serializable;
import java.util.Date;
import java.util.logging.Logger;

import javax.ejb.EJB;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;

import com.work.facade.CodereviewFacade;
import com.work.model.Project;
import com.work.model.Releases;

@ManagedBean(name = "codereviewMB")
@SessionScoped
public class CodereviewMB implements Serializable{

	private static final long serialVersionUID = -5328441839894235768L;
	private final static Logger LOG = Logger.getLogger(CodereviewMB.class.getName()); 

	@EJB
	private CodereviewFacade crFacade;
	
	private Date resolutionDate;
	private String status;
	private Project project;
	private Releases release;
	private String changeDoc;
	
	/**
	 * @return the resolutionDate
	 */
	public Date getResolutionDate() {
		return resolutionDate;
	}
	/**
	 * @param resolutionDate the resolutionDate to set
	 */
	public void setResolutionDate(Date resolutionDate) {
		this.resolutionDate = resolutionDate;
	}
	/**
	 * @return the status
	 */
	public String getStatus() {
		return status;
	}
	/**
	 * @param status the status to set
	 */
	public void setStatus(String status) {
		this.status = status;
	}
	/**
	 * @return the project
	 */
	public Project getProject() {
		return project;
	}
	/**
	 * @param project the project to set
	 */
	public void setProject(Project project) {
		this.project = project;
	}
	/**
	 * @return the release
	 */
	public Releases getRelease() {
		return release;
	}
	/**
	 * @param release the release to set
	 */
	public void setRelease(Releases release) {
		this.release = release;
	}
	/**
	 * @return the changeDoc
	 */
	public String getChangeDoc() {
		return changeDoc;
	}
	/**
	 * @param changeDoc the changeDoc to set
	 */
	public void setChangeDoc(String changeDoc) {
		this.changeDoc = changeDoc;
	}
	
}
